#ifndef _ENDPOINT_H_
#define _ENDPOINT_H_
#include <d3dx9.h>
#include "Sprite.h"
#include "CGame.h"
#include "Object.h"
#include "Global.h"
#include "Texture.h"


class EndPoint : public Object
{

public:
	Texture * _texture;
	EndPoint(int id, float x, float y, int type);
	~EndPoint(void);
	void Render(int vpX, int vpY);
	void Update(list<Object *> *_list, float time);
	OBJECT_TYPE getObjectType();
};

#endif